/*

  温度计模块

*/

#ifndef CTHERMOMETER_H
#define CTHERMOMETER_H

#include <QWidget>
#include "cdatathread.h"

class CThermometer : public QWidget
{
    Q_OBJECT
public:
    explicit CThermometer(QWidget *parent = nullptr);

    void paintEvent(QPaintEvent *event) override;

public slots:
    void getWenValue(float Value);

signals:
    void sig_SendValue(float value);

private:
    float m_fValue;
    CDataThread *m_pDataThread;
};

#endif // CTHERMOMETER_H
